[PATCH] auth: Use AUTH_CACHE_KEY_USER instead of per-database constants
authorAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 25 Jul 2025 05:16:52 +0000 (08:16 +0300)
committerNoah Meyerhans <noahm@debian.org>
Thu, 23 Oct 2025 14:01:33 +0000 (10:01 -0400)
commita889beeb4f4cf4892a330c8b24bde4ab94e18aa2
tree236a5e668e2b39995d1d24315e1fe451d7a099db
parent33a992217585c510f8dbcc5003b34a9e3b03d692
[PATCH] auth: Use AUTH_CACHE_KEY_USER instead of per-database constants

Fixes cache key issue where users would end up overwriting
each other in cache due to cache key being essentially static
string because we no longer support %u.

Forgotten in 2e298e7ee98b6df61cf85117f000290d60a473b8

Gbp-Pq: Name auth__Use_AUTH_CACHE_KEY_USER_instead_of_per-database.patch
src/auth/auth-settings.h
src/auth/passdb-bsdauth.c
src/auth/passdb-oauth2.c
src/auth/passdb-pam.c
src/auth/passdb-passwd.c
src/auth/userdb-passwd.c